package com.jiunuan.live.core.server.service;

import com.jiunuan.live.im.dto.ImMsgBody;

/**
 * @Author: JiuNuan
 * @CreateTime: 2024-08-16 16:39
 * @Description:
 */

public interface IRouterHandlerService {
    /**
     * 接收消息
     * @param imMsgBody
     */
    void onReceive(ImMsgBody imMsgBody);
    /**
     * 发送消息给客户端
     *
     * @param imMsgBody
     */
    boolean sendMsgToClient(ImMsgBody imMsgBody);
}
